Jump to content
Sign in to follow this  
jWalker

FileOpenDialog via TCP ?!

Recommended Posts

jWalker

Is this possible?

Or are there any other comparable functions?

I just need some sort of GUI where i can select a file on a remote PC over TCP...

Sending the file is no problem :) just "select" it on the other pc by myself.

Share this post


Link to post
Share on other sites
jWalker

I did a fileListToArray and then ArrayToString..

On the other side an StringSplit

But thats not beatiful ;)

Any ideas?

##EDIT

Maybe making a "copy" of the directory that has been sent to me via TCP

every copied file is just a new file with nothing inside it.

So you have the dirs and the files...

It takes some time and maybe a recursive search (subdirs) but you could then use the fileOpenDialog :)

May this be the best idea?

Edited by jWalker

Share this post


Link to post
Share on other sites
hannes08

What about browsing a mapped network folder? You can use DriveMapAdd() to map it to your local PC.


Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites
hannes08

Well, probably not unless you're in a VPN...

Otherwise I guess the Idea of sending the Directory contents as string is a good start.

To lower the traffic I would just send the contents of the current directory. But then again you'd need to write your own "OpenFile" Gui.


Regards,Hannes[spoiler]If you can't convince them, confuse them![/spoiler]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×