So for me to set this up I would say am in "way over my head" it looks likecrazycaveman wrote:It's all good. SCP stands for "Secure copy" and is usually found on *nix based computers, installed with ssh. In my case, I installed the cygwin suite, which allows you to install Linux like programs on Windows, and set up the ssh service through that. But, like I said earlier, this is just one of several ways to copy files from a Linux box to Windows.
Copy Script (need help)
- vodkaholic27
- Member
- Posts: 25
- Joined: Thu Apr 12, 2012 1:48 pm
- Contact:
Re: Copy Script (need help)
-
- Member
- Posts: 28
- Joined: Mon Apr 30, 2012 3:08 am
Re: Copy Script (need help)
Not necessarily. If you can setup an FTP server on your Linux box, you could use FTPGrab to connect from your Windows machine to your seedbox every so often and grab any new files it sees in the completed directory. You'll just need to have python 2.x installed on your Windows machine. Maybe that would be better than trying to push from the seedbox to home
- vodkaholic27
- Member
- Posts: 25
- Joined: Thu Apr 12, 2012 1:48 pm
- Contact:
Re: Copy Script (need help)
Hey this Python?crazycaveman wrote:Not necessarily. If you can setup an FTP server on your Linux box, you could use FTPGrab to connect from your Windows machine to your seedbox every so often and grab any new files it sees in the completed directory. You'll just need to have python 2.x installed on your Windows machine. Maybe that would be better than trying to push from the seedbox to home
- vodkaholic27
- Member
- Posts: 25
- Joined: Thu Apr 12, 2012 1:48 pm
- Contact:
Re: Copy Script (need help)
Hey as for the .bat window showing all the time I found this
http://superuser.com/questions/140047/h ... and-window
Save the following as wscript, for instance, hidecmd.vbs after replacing "testing.bat" with your batch file's name.
Is this any good?
Cheers
edit
I made a file with this in
and trying to run it using
Q:\Vodkaholic\Software\copy_completed.vbs "%I" "%N" "%D" (back on the utorrent one atm)
Didn't work tho
Will play some more.
http://superuser.com/questions/140047/h ... and-window
Save the following as wscript, for instance, hidecmd.vbs after replacing "testing.bat" with your batch file's name.
Code: Select all
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs
strArgs = "cmd /c testing.bat"
oShell.Run strArgs, 0, false
Cheers
edit
I made a file with this in
Code: Select all
Set oShell = CreateObject ("Wscript.Shell")
Dim strArgs
strArgs = "cmd /Q Vodkaholic/Software/copy_completed.bat"
oShell.Run strArgs, 0, false
Q:\Vodkaholic\Software\copy_completed.vbs "%I" "%N" "%D" (back on the utorrent one atm)
Didn't work tho
Will play some more.
-
- Member
- Posts: 28
- Joined: Mon Apr 30, 2012 3:08 am
Re: Copy Script (need help)
Unfortunately, you also have to pass the arguments that call that script to the batch file. I'm sure there's an easy way to do that, just need to find it. Also, for FTPGrab, you need 2.7.3
edit: try the following:
Give that a go and see if it works. Cursory testing on my end indicates it does, but that was running it manually, not from a client...
edit: try the following:
Code: Select all
Set oShell = CreateObject ("Wscript.Shell")
Set args = WScript.Arguments
Dim strArgs
strArgs = "Q:\Vodkaholic\Software\copy_completed.bat """& args(0) &""" """& args(1) &""" """& args(2) &""""
oShell.Run strArgs, 0, false
Re: Copy Script (need help)
Sorry for hijacking the thread, but im on a similar boat.
I want a torrent to start in "E:\Incomplete\", pooping out a copy to E:\Complete\ when it finishes downloading,
and once it reaches the seeding ratio/timelimit set in deluge, I want it to delete torrent AND data (excluding copy).
I can make the execute plugin run copy.bat when it finishes downloading,
I can make deluge remove the torrent when it hits the seed ratio/timelimit,
but I cant make it delete data when it finishes seeding.
Any way around that?
I want a torrent to start in "E:\Incomplete\", pooping out a copy to E:\Complete\ when it finishes downloading,
and once it reaches the seeding ratio/timelimit set in deluge, I want it to delete torrent AND data (excluding copy).
I can make the execute plugin run copy.bat when it finishes downloading,
I can make deluge remove the torrent when it hits the seed ratio/timelimit,
but I cant make it delete data when it finishes seeding.
Any way around that?