Page 1 of 1
How to automatically load an FTPed file?
Posted: Mon Aug 01, 2005 8:01 pm
by doc6502
All
Just trying out some new ideas for editing files on remote systems, and I'd like to be able to do the following:
1. Start TextPad
2. Do FTP get, transferring a text file. This would be invoked from inside TextPad, file through a Ctrl Key configured through the Tools Menu.
3. Have TextPad automatically load the file if the get is successful.
I can do 1 and 2. But I don't know how to do 3.
Any ideas?
Thanks
Posted: Tue Aug 02, 2005 7:11 am
by bveldkamp
I suppose you have a batch file that does the ftp-ing? If so, you could add "Start c:\path\to\textpad.exe <filename>" to the end, I guess. You'd probably want to uncheck "Configure -> Preferences -> General -> Allow Multiple Instances to Run"
HTH, Berend
Posted: Tue Aug 02, 2005 12:58 pm
by ninjalabs
Just use webdrive (it maps an ftp server to a local disk) and work off the disk:
http://www.southrivertech.com/
Filesystem access should be transparent via the operating system, not implemented by specific applications (look at UNIX for example for a good model of filesystem implementation and integration).
Posted: Tue Aug 02, 2005 3:49 pm
by doc6502
Sorry, guys-- not quite what I'm looking for:
I suppose you have a batch file that does the ftp-ing? If so, you could add "Start c:\path\to\textpad.exe <filename>" to the end, I guess. You'd probably want to uncheck "Configure -> Preferences -> General -> Allow Multiple Instances to Run"
This will work, but it doesn't allow me to FTP INSIDE of TextPad. Everytime I want to load a new file, I'll get a new instance of TextPad, which isn't what I'm after.
Just use webdrive (it maps an ftp server to a local disk) and work off the disk:
http://www.southrivertech.com/
Filesystem access should be transparent via the operating system, not implemented by specific applications (look at UNIX for example for a good model of filesystem implementation and integration).
Nope. I don't want to pay for the software, and I'm working at a client who gets VERY cross when a contractor wants to la-de-dah map a drive to their machine.
Posted: Wed Aug 03, 2005 5:06 pm
by bveldkamp
There's a free download somewhere, but I'd have to check the address at the office. I'll let you know tomorrow.
Berend
Posted: Thu Aug 04, 2005 6:56 am
by bveldkamp
I was thinking of NetDrive, not WebDrive, although it does the same. Download it here:
http://www.acs.uwosh.edu/novell/netdrive.htm
Berend