How to automatically load an FTPed file?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
doc6502
Posts: 5
Joined: Wed May 21, 2003 5:42 pm

How to automatically load an FTPed file?

Post 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
bveldkamp

Post 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
ninjalabs
Posts: 46
Joined: Tue Jan 25, 2005 4:38 pm

Post 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).
TextPad redneck since 1999.
NinjaLabs is now CSWD Limited!
doc6502
Posts: 5
Joined: Wed May 21, 2003 5:42 pm

Post 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.
bveldkamp

Post 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
bveldkamp

Post 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
Post Reply